package cn.xmy.demo01.pojo;

import java.io.Serial;
import java.io.Serializable;

public class Topic implements Serializable {
    @Serial
    private static final long serialVersionUID = -3650412648560112833L;
    private String id ;
    private String name ;
    private String cover ;
    private String introduce;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public Topic(String id, String name, String cover, String introduce) {
        this.id = id;
        this.name = name;
        this.cover = cover;
        this.introduce = introduce;
    }

    public Topic() {
    }
}
